<template>
  <h1>vue-router@4</h1>
  <RouterLink to="/register">注册</RouterLink>
  <RouterLink to="/login">登录</RouterLink>
  <RouterLink to="/home">主页</RouterLink>
  <RouterView></RouterView>
</template>

<script lang="ts">
import { defineComponent } from 'vue'

export default defineComponent({
  setup () {
    

    return {}
  }
})
</script>

<style scoped>

</style>
